package com.htwy.kits;

import java.util.regex.Pattern;

public class NumberKit {

    /**
     * 判断字符串是否是正整数
     * @param numberStr 字符串
     * @return true:是,false:否
     */
    public static boolean isZNum(String numberStr){
        return Pattern.matches("\\d+",numberStr);
    }
}
